package com.linko.intelligent.remote.core.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linko.intelligent.remote.pojo.po.DeviceInfo;
import com.linko.intelligent.remote.pojo.query.DeviceInfoQuery;
import com.linko.intelligent.remote.pojo.vo.DeviceInfoWithStatus;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author yuan
 * @create 2024/4/15 17:39
 */
@Mapper
@Repository
public interface DeviceInfoMapper extends BaseMapper<DeviceInfo> {
    void deleteAll();

    List<DeviceInfoWithStatus> selectBySn(String query);

    List<DeviceInfo> selectLis(DeviceInfoQuery query);

    void batchInsert(List<DeviceInfo> deviceInfoList);
}
